package com.YCH.model.common.enums;

public enum AppTypeEnum {
    // 类型
    ARTICLE(0, "文章"),
    COMMENT(1, "评论"),
    DYNAMIC(2, "动态");
    int code;
    String errorMessage;

    AppTypeEnum(int code, String errorMessage) {
        this.code = code;
        this.errorMessage = errorMessage;
    }

    public int getCode() {
        return code;
    }

    public String getErrorMessage() {
        return errorMessage;
    }
}
